package org.l03.cls.pack.ndky;

import org.l03.cls.pack.ndky2.MyClass2;

public class Main {
    public static void main(String[] args) {
        MyClass myClass = new MyClass(5);
        System.out.println(myClass.x);
        MyClass2 myClass2 = new MyClass2(15);
        System.out.println(myClass2.x);
    }
    /*
        输出：
        包org.l03.cls.pack.ndky 构造函数MyClass
        5
        包org.l03.cls.pack.ndky2 构造MyClass2
        25
     */
}
